from django.urls import path, include
from rest_framework.routers import DefaultRouter
from .views import ZtProjectViewSet, ZtProjectDetailViewSet, ZtStatsViewSet
# from .views import project_viewset, project_detail_viewset, stats_viewset, module_viewset

urlpatterns = [
    # path('', include(router.urls)),
    # path('modules', ZtModuleViewSet.as_view({'get': 'list'})),
    path('projects', ZtProjectViewSet.as_view({'get': 'list'})),
    path('projects/<int:project_id>', ZtProjectDetailViewSet.as_view({'get': 'list'})),
    path('stats', ZtStatsViewSet.as_view({'get': 'list'}))
]